package day_05;



/**
 * @ClassName Day05Homework_3
 * @Description TODO
 * @Author hp
 * @Date 2021/6/7 14:25
 * @Version 1.0
 **/
public class Day05Homework_3 {
    public static void main(String[] args) {
        String[] strings = {"黑桃", "红桃", "梅花", "方片"};
        String[] strings1 = new String[]{"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K"};
        String[] strings2 = new String[52];
        int k = 0;
        for (int i = 0; i < strings.length; i++) {

            for (int j = 0; j < strings1.length; j++) {
               strings2[k]=strings[i]+strings1[j];
                k++;
            }
        }
        System.out.println(strings2[0]);
        System.out.println(strings2[4]);
        System.out.println(strings2[49]);
    }

}
